Optimal. Leaf size=36 \[ \frac {2 a \sqrt {\sec (c+d x)} \sin (c+d x)}{d \sqrt {a+a \sec (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.040, Rules used = {3889}
\begin {gather*} \frac {2 a \sin (c+d x) \sqrt {\sec (c+d x)}}{d \sqrt {a \sec (c+d x)+a}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 3889
Rubi steps
\begin {align*} \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx &=\frac {2 a \sqrt {\sec (c+d x)} \sin (c+d x)}{d \sqrt {a+a \sec (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.10, size = 39, normalized size = 1.08 \begin {gather*} \frac {2 \sqrt {a (1+\sec (c+d x))} \tan \left (\frac {1}{2} (c+d x)\right )}{d \sqrt {\sec (c+d x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 52, normalized size = 1.44
method | result | size |
default | \(-\frac {2 \left (-1+\cos \left (d x +c \right )\right ) \sqrt {\frac {a \left (1+\cos \left (d x +c \right )\right )}{\cos \left (d x +c \right )}}}{d \sin \left (d x +c \right ) \sqrt {\frac {1}{\cos \left (d x +c \right )}}}\) | \(52\) |
risch | \(-\frac {i \sqrt {2}\, \sqrt {\frac {a \left ({\mathrm e}^{i \left (d x +c \right )}+1\right )^{2}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, \left ({\mathrm e}^{i \left (d x +c \right )}-1\right )}{\sqrt {\frac {{\mathrm e}^{i \left (d x +c \right )}}{{\mathrm e}^{2 i \left (d x +c \right )}+1}}\, \left ({\mathrm e}^{i \left (d x +c \right )}+1\right ) d}\) | \(89\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 20, normalized size = 0.56 \begin {gather*} \frac {2 \, \sqrt {2} \sqrt {a} \sin \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.76, size = 49, normalized size = 1.36 \begin {gather*} \frac {2 \, \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{d \cos \left (d x + c\right ) + d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {a \left (\sec {\left (c + d x \right )} + 1\right )}}{\sqrt {\sec {\left (c + d x \right )}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.54, size = 53, normalized size = 1.47 \begin {gather*} \frac {\sin \left (2\,c+2\,d\,x\right )\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}\,\sqrt {\frac {a\,\left (\cos \left (c+d\,x\right )+1\right )}{\cos \left (c+d\,x\right )}}}{d\,\left (\cos \left (c+d\,x\right )+1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________